
<div class="col-sm-12 mt20">
     <div class="panel">
           <div class="panel-body">
                <div class="col-sm-12">
                  <div class="row">	
                      <div class="col-sm-2">
                           <input type="text" class="form-control" ng-model="searchform.order_code" placeholder="订单编号">
                      </div>
                      <div class="col-sm-2">
                          <ui-select ng-model="searchform.from_app_id" theme="bootstrap" ng-keyup="myKeyup($event)">
                                <ui-select-match placeholder="订单来源">
                                  {{$select.selected.label}}
                                </ui-select-match>
                                <ui-select-choices repeat="item.value as item in orderarr | filter: $select.search">
                                  <span ng-bind-html="item.label | highlight: $select.search"></span>
                                </ui-select-choices>
                          </ui-select>
                      </div>
                      <div class="col-sm-2">
                            <ui-select ng-model="searchform.payment_type" theme="bootstrap" ng-keyup="myKeyup($event)">
                                <ui-select-match placeholder="支付类型">
                                  {{$select.selected.label}}
                                </ui-select-match>
                                <ui-select-choices repeat="item.value as item in payment_typearr | filter: $select.search">
                                  <span ng-bind-html="item.label | highlight: $select.search"></span>
                                </ui-select-choices>
                          </ui-select>
                      </div>
                      <div class="col-sm-2">
                         <ui-select ng-model="searchform.back_state" theme="bootstrap" ng-keyup="myKeyup($event)">
                                <ui-select-match placeholder="退款类型">
                                  {{$select.selected.label}}
                                </ui-select-match>
                                <ui-select-choices repeat="item.value as item in back_statearr| filter: $select.search">
                                  <span ng-bind-html="item.label | highlight: $select.search"></span>
                                </ui-select-choices>
                          </ui-select>
                      </div>
                      <div class="col-sm-2">
                           <ui-select ng-model="searchform.ticket_state" theme="bootstrap" ng-keyup="myKeyup($event)">
                                <ui-select-match placeholder="退票状态">
                                  {{$select.selected.label}}
                                </ui-select-match>
                                <ui-select-choices repeat="item.value as item in ticket_statearr| filter: $select.search">
                                  <span ng-bind-html="item.label | highlight: $select.search"></span>
                                </ui-select-choices>
                          </ui-select>
                      </div>
                      <div class="col-sm-2">
                        <input type="button " class="btn btn-info search form-control"  ng-click="load()" value="立即搜索">
                      </div>
                  </div>
                  
                </div>
           </div>
     </div>


             
<div class="panel panel-default">

  <table class="table table-hover table-bordered">
    <thead>
      <tr>
        <th class="text-center col-md-1">订单编号</th>
        <th class="text-center col-md-1">订单序号</th>
        <th class="text-center col-md-1">支付金额</th>
        <th class="text-center col-md-1">支付类型</th>
        <th class="text-center col-md-1">创建时间</th>
        <th class="text-center col-md-1">所属机构</th>
        <th class="text-center col-md-1">订单来源</th>
        <th class="text-center col-md-1">退票状态</th>
        <th class="text-center col-md-1">退款状态</th>
        <th class="text-center col-md-1">实际退款金额</th>
        <th class="text-center col-md-1">退款时间</th>
        <th class="text-center col-md-1">操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="obj in objs">
        <td class="text-center">{{obj.order_code}}</td>
        <td class="text-center">{{obj.sequence}}</td>
        <td class="text-center">{{obj.back_price/100 | currency : '￥'}}</td>
        <td class="text-center" ng-show="obj.payment_type=='0'">默认</td>
        <td class="text-center" ng-show="obj.payment_type=='1'">支付宝支付</td>
        <td class="text-center" ng-show="obj.payment_type=='2'">微信支付</td>
        <td class="text-center" ng-show="obj.payment_type=='4'">预存支付</td>
        <td class="text-center" ng-show="obj.payment_type==undefined"></td>
        <td class="text-center">{{obj.create_time}}</td>
        <td class="text-center">{{obj.ta_code}}</td>
        <td class="text-center">{{obj.from_app_id}}</td>
        <td class="text-center">{{obj.ticket_statename}}</td>
        <td class="text-center">{{obj.back_statename}}</td>
        <td class="text-center">{{obj.actual_back_price/100 | currency : '￥'}}</td>
        <td class="text-center">{{obj.update_time}}</td>
        <td class="text-center">
        	<a ng-show="obj.back_state=='0' && obj.ticket_state == 1" ng-click="back(obj)" class="btn btn-success btn-xs">退款</a>
        </td>
      </tr>
    </tbody>
  </table>

  <div class="text-right">

    <pagination 
      total-items="bigTotalItems" 
      ng-model="bigCurrentPage" 
      max-size="maxSize" 
      class="pagination-sm" 
      boundary-links="true" 
      ng-change="load()"
      items-per-page="itemsPerPage"
      previous-text="上一页"
      next-text="下一页"
      first-text="首页"
      last-text="末页"
      rotate="false">
    </pagination>

  </div>
  
</div>
</div>